package com.study.lease.web.admin.schedule;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import static org.junit.jupiter.api.Assertions.*;

@SpringBootTest
class ScheduledTasksTest {

    @Autowired
    private ScheduledTasks scheduledTasks;

    /**
     * description:测试定时器
     * 租约满足条件，就修改状态
     */
    @Test
    public void checkLeaseStatus() {
//        ScheduledTasks scheduledTasks = new ScheduledTasks();
        scheduledTasks.checkLeaseStatus();
    }

}